package cn.wit.luohui.day06;

public class DemoInnerClass {
public static void main(String[] args) {
	Foo f1 = new Foo();
    System.out.println(f1.i);
    Foo f2 = new Foo();
    System.out.println(f2.i);
    System.out.println(f2.j);
}
}
class Foo {
    int i = 1;
    static int j = 1;
    Foo() {
      i++;
      j++;
    }
  }